package com.xnyzc.lhy.finance.entity.cashwithdrawal;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.Version;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
*
* 司机提现表
*
* @author cuixiaojian
* @since 2019-10-18
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="OaDCashWithdrawal对象", description="司机提现表")
public class OaDCashWithdrawal implements Serializable {

private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "提现ID")
    @TableId(value="withdrawal_id", type = IdType.INPUT)
    private Long withdrawalId;

    @ApiModelProperty(value = "提现单号")
    private String withdrawalNumber;

    @ApiModelProperty(value = "提现发起人")
    private Long withdrawalOriginator;

    @ApiModelProperty(value = "提现银行")
    private String withdrawalBank;

    @ApiModelProperty(value = "提现账户银行卡号")
    private String withdrawalBankCardNumber;

    @ApiModelProperty(value = "提现金额")
    private BigDecimal withdrawalAmount;

    @ApiModelProperty(value = "提现进度(0:发起提现申请,1:提现处理中,2:处理完成,提现到账,3:提现失败)")
    private Integer withdrawalProgress;

    @ApiModelProperty(value = "预计到账时间")
    private Date withdrawalEstimatedArrivalTime;

    @ApiModelProperty(value = "到账时间")
    private Date withdrawalArrivalTime;

    @ApiModelProperty(value = "提现备注")
    private String withdrawalComment;

    @ApiModelProperty(value = "城市code")
    private String cityCode;

    @ApiModelProperty(value = "用户来源")
    private String tag;

    @ApiModelProperty(value = "扩展字段1")
    private String expand1;

    @ApiModelProperty(value = "扩展字段2")
    private String expand2;

    @ApiModelProperty(value = "扩展字段3")
    private String expand3;

    @ApiModelProperty(value = "版本号")
    @Version
    private Long version;

    @ApiModelProperty(value = "是否删除(0:否,1:是)")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "创建人")
    private Long createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateUser;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


    public static final String WITHDRAWAL_ID = "withdrawal_id";

    public static final String WITHDRAWAL_NUMBER = "withdrawal_number";

    public static final String WITHDRAWAL_ORIGINATOR = "withdrawal_originator";

    public static final String WITHDRAWAL_BANK = "withdrawal_bank";

    public static final String WITHDRAWAL_BANK_CARD_NUMBER = "withdrawal_bank_card_number";

    public static final String WITHDRAWAL_AMOUNT = "withdrawal_amount";

    public static final String WITHDRAWAL_PROGRESS = "withdrawal_progress";

    public static final String WITHDRAWAL_ESTIMATED_ARRIVAL_TIME = "withdrawal_estimated_arrival_time";

    public static final String WITHDRAWAL_ARRIVAL_TIME = "withdrawal_arrival_time";

    public static final String WITHDRAWAL_COMMENT = "withdrawal_comment";

    public static final String CITY_CODE = "city_code";

    public static final String TAG = "tag";

    public static final String EXPAND1 = "expand1";

    public static final String EXPAND2 = "expand2";

    public static final String EXPAND3 = "expand3";

    public static final String VERSION = "version";

    public static final String DELETED = "deleted";

    public static final String CREATE_USER = "create_user";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_USER = "update_user";

    public static final String UPDATE_TIME = "update_time";

}
